home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / FROMUTS / CDUNGEON / !CDUNGEON / !Cstart < prev    next >
Text File  |  1992-03-25  |  2KB  |  60 lines

  1. | > !Cstart
  2. |
  3. | Version 3.00
  4. | 18 July 1989
  5. |  
  6. | Obey file to set up the environment for working with C (release 3)
  7. | Serves as an example, and also to get going on Disc 1 of the release
  8. |
  9. | Check that an old version of clib is not already installed
  10. | ----------------------------------------------------------
  11. |
  12. set clib$flag 0
  13. RMensure SharedClibrary 3.50 set clib$flag 1
  14. RMensure SharedClibrary 0 set clib$flag 0
  15. if "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory. See page 44-45 of the Acorn C manual.
  16. unset clib$flag
  17. |
  18. | Set up the location for the C programming session
  19. | -------------------------------------------------
  20. |
  21. Echo !Cstart procedure for getting started
  22. Echo 
  23. |
  24. adfs
  25. Echo Advanced Disc Filing System selected
  26. Echo
  27. |
  28. set c$loc :IDEDisc4.$
  29. | * If your C system is installed on a hard disc, edit the above line to *
  30. | * read 'set c$loc :4.$'                                                *
  31. |
  32. | Install the shared C library (clib)
  33. | -----------------------------------
  34. |
  35. RMensure SharedClibrary 3.50 RMload <c$loc>.!System.modules.clib
  36. RMensure SharedClibrary 3.50 Error You need at least version 3.50 of the shared C library
  37. Echo Version 3.50, or later, of the shared C library installed
  38. |
  39. | Install the floating point emulator
  40. | -----------------------------------
  41. |
  42. RMensure FPEmulator 2.80 RMload <c$loc>.!System.modules.FPE280
  43. RMensure FPEmulator 2.80 Error You need at least version 2.80 of the floating point emulator
  44. Echo FPE 2.80 (or later) installed
  45. Echo
  46. |
  47. | Select library directory and current directory
  48. | ----------------------------------------------
  49. |
  50. LIB <c$loc>.C-Compiler.library
  51. Echo <c$loc>.C-Compiler.Library set as the current library
  52. DIR <c$loc>.!CDUNGEON
  53. Echo <c$loc>.!CDUNGEON selected as the current directory
  54. Echo
  55. |
  56. unset c$loc
  57. Echo !Cstart procedure successfully completed
  58. |
  59.